package homework.homework3;

public class Work3 {
    public static void main(String[] args) {
        Student student=Student.getInstance();
        student.name="lisi";
        student.sex="female";
        student.year=20;
        System.out.println(student.name+"  "+student.sex+"  "+student.year);

        Student student1=Student.getInstance();
        System.out.println(student1.name+"  "+student1.sex+"  "+student1.year);
    }
}

